package com.kazu.index.service.impl;

import com.kazu.index.entity.dao.IndexImgs;
import com.kazu.index.mapper.IndexImgsMapper;
import com.kazu.index.service.IndexImgsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 首页照片集 服务实现类
 * </p>
 *
 * @author kazu
 * @since 2023/02/19 09:41
 */
@Service
public class IndexImgsServiceImpl extends ServiceImpl<IndexImgsMapper, IndexImgs> implements IndexImgsService {
	
	@Autowired
	private IndexImgsMapper indexImgsMapper;
	
	/**
	 * 全查询非分页
	 *
	 * @return 返回查询结果
	 */
	@Override
	public List<IndexImgs> getAll() {
		return indexImgsMapper.selectList(null);
	}
}
